<?php


namespace app\common\model;


use think\Model;
use app\common\model\OperationLog as operationLogModel;

class Swiper extends Model {

    protected $pk = 'id';

    public function getImageAttr($value,$data){
        return $value;
        return cdnurl($value);
    }


    public function getCreatedAtAttr($value,$data){
        return date('Y-m-d H:i:s',$value);
    }
}